import request from "@/utils/request";

// 查询宝宝起名配置
export function getNameAllocation(id) {
  return request({
    url: "/alipay/baby-order-properties/get?id=" + id,
    method: "get",
  });
}

// 更新宝宝起名配置
export function updateNameAllocation(data) {
  return request({
    url: "/alipay/baby-order-properties/update",
    method: "put",
    data
  });
}
